package com.handtransaction.entity;

import org.springframework.stereotype.Component;

import java.util.Date;

@Component
public class OSGoods {
    private Integer osid = null; //下架操作记录
    private Integer osadminid;
    private String osadminname;
    private Date ostime = null;
    private Integer osgid;  //下架的商品id
    private String osgname; //下架商品名称
    private String osgsrc;   //下架商品图片路径
    private Integer osguid;  //下架商品的用户id
    private String osreason;

    public OSGoods(){}

    public OSGoods(Integer osid, Integer osadminid, String osadminname, Date ostime, Integer osgid, String osgname, String osgsrc, Integer osguid, String osreason) {
        this.osid = osid;
        this.osadminid = osadminid;
        this.osadminname = osadminname;
        this.ostime = ostime;
        this.osgid = osgid;
        this.osgname = osgname;
        this.osgsrc = osgsrc;
        this.osguid = osguid;
        this.osreason = osreason;
    }

    @Override
    public String toString() {
        return "OSGoods{" +
                "osid=" + osid +
                ", osadminid=" + osadminid +
                ", osadminname='" + osadminname + '\'' +
                ", ostime=" + ostime +
                ", osgid=" + osgid +
                ", osgname='" + osgname + '\'' +
                ", osgsrc='" + osgsrc + '\'' +
                ", osguid=" + osguid +
                ", osreason='" + osreason + '\'' +
                '}';
    }

    public Integer getOsid() {
        return osid;
    }

    public void setOsid(Integer osid) {
        this.osid = osid;
    }

    public Integer getOsadminid() {
        return osadminid;
    }

    public void setOsadminid(Integer osadminid) {
        this.osadminid = osadminid;
    }

    public String getOsadminname() {
        return osadminname;
    }

    public void setOsadminname(String osadminname) {
        this.osadminname = osadminname;
    }

    public Date getOstime() {
        return ostime;
    }

    public void setOstime(Date ostime) {
        this.ostime = ostime;
    }

    public Integer getOsgid() {
        return osgid;
    }

    public void setOsgid(Integer osgid) {
        this.osgid = osgid;
    }

    public String getOsgname() {
        return osgname;
    }

    public void setOsgname(String osgname) {
        this.osgname = osgname;
    }

    public String getOsgsrc() {
        return osgsrc;
    }

    public void setOsgsrc(String osgsrc) {
        this.osgsrc = osgsrc;
    }

    public Integer getOsguid() {
        return osguid;
    }

    public void setOsguid(Integer osguid) {
        this.osguid = osguid;
    }

    public String getOsreason() {
        return osreason;
    }

    public void setOsreason(String osreason) {
        this.osreason = osreason;
    }


}
